package com.ruoyi.iot.hikvision.ys;

import java.util.List;

public class YsDeviceAlarmResponse {
    private String code;
    private String msg;
    private List<AlarmInfo> data;

    public static class AlarmInfo {
        private String alarmId;//	String	消息ID
        private String alarmName;//	String	告警源名称
        private Integer alarmType;//	int	告警类型
        private Long alarmTime;//	long	告警时间，long格式如12323452345，精确到毫秒
        private Integer channelNo;//	int	通道号
        private String isEncrypt;//	int	是否加密：0-不加密，1-加密
        private String isChecked;//	int	是否已读：0-未读，1-已读
        private Integer recState;//	int	存储类型：0-无存储，1-萤石云存储，4-sd卡存储，5-萤石云存储和sd卡存储
        private Integer preTime;//	int	预录时间：单位秒
        private Integer delayTime;//	int	延迟录像时间，单位秒
        private String deviceSerial;//	String	设备序列号,存在英文字母的设备序列号，字母需为大写
        private String alarmPicUrl;//	String	告警图片地址
        private List<AlarmInfo> relationAlarms;//	list	关联的告警消息
        private String customerType;//	String	透传设备参数类型
        private String customerInfo;//	String	透传设备参数内容

        public String getAlarmId() {
            return alarmId;
        }

        public void setAlarmId(String alarmId) {
            this.alarmId = alarmId;
        }

        public String getAlarmName() {
            return alarmName;
        }

        public void setAlarmName(String alarmName) {
            this.alarmName = alarmName;
        }

        public Integer getAlarmType() {
            return alarmType;
        }

        public void setAlarmType(Integer alarmType) {
            this.alarmType = alarmType;
        }

        public Long getAlarmTime() {
            return alarmTime;
        }

        public void setAlarmTime(Long alarmTime) {
            this.alarmTime = alarmTime;
        }

        public Integer getChannelNo() {
            return channelNo;
        }

        public void setChannelNo(Integer channelNo) {
            this.channelNo = channelNo;
        }

        public String getIsEncrypt() {
            return isEncrypt;
        }

        public void setIsEncrypt(String isEncrypt) {
            this.isEncrypt = isEncrypt;
        }

        public String getIsChecked() {
            return isChecked;
        }

        public void setIsChecked(String isChecked) {
            this.isChecked = isChecked;
        }

        public Integer getRecState() {
            return recState;
        }

        public void setRecState(Integer recState) {
            this.recState = recState;
        }

        public Integer getPreTime() {
            return preTime;
        }

        public void setPreTime(Integer preTime) {
            this.preTime = preTime;
        }

        public Integer getDelayTime() {
            return delayTime;
        }

        public void setDelayTime(Integer delayTime) {
            this.delayTime = delayTime;
        }

        public String getDeviceSerial() {
            return deviceSerial;
        }

        public void setDeviceSerial(String deviceSerial) {
            this.deviceSerial = deviceSerial;
        }

        public String getAlarmPicUrl() {
            return alarmPicUrl;
        }

        public void setAlarmPicUrl(String alarmPicUrl) {
            this.alarmPicUrl = alarmPicUrl;
        }

        public List<AlarmInfo> getRelationAlarms() {
            return relationAlarms;
        }

        public void setRelationAlarms(List<AlarmInfo> relationAlarms) {
            this.relationAlarms = relationAlarms;
        }

        public String getCustomerType() {
            return customerType;
        }

        public void setCustomerType(String customerType) {
            this.customerType = customerType;
        }

        public String getCustomerInfo() {
            return customerInfo;
        }

        public void setCustomerInfo(String customerInfo) {
            this.customerInfo = customerInfo;
        }
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<AlarmInfo> getData() {
        return data;
    }

    public void setData(List<AlarmInfo> data) {
        this.data = data;
    }
}
